﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SharpShare.Storage;
using SharpShare.Storage.Security;

namespace SharpShare.Afp.Protocol {
    public interface IAfpVolume {
        ushort Identifier { get; }
        IAfpSession Session { get; }
        IStorageProvider StorageProvider { get; }

        IStorageItem GetNode(uint id);
        uint GetNode(IStorageItem item);
        void InvalidateNode(IStorageItem item);

        void Close();
    }
}
